package lesson01;

/**
 * @Auther: xiaofei
 * @Date: 2021/6/28 - 06 - 28 - 17:06
 * @Description: lesson01
 * @version: 1.0
 */
public class TalkStudent {
    //这是一个main方法，是程序的入口：
    public static void main(String[] args) {
        // 开启两个线程
        new Thread(new TalkSend(7777,"localhost",9999)).start();
        new Thread(new TalkReceive(8888,"老师")).start();

    }
}
